package edu.whut.service;

import edu.whut.entity.Author;

import java.util.List;

public interface AuthorService {

    Boolean addAuthor(Author author);

    Boolean deleteAuthor(Long authorId);

    Boolean updateAuthor(Author author);

    Author getAuthorById(Long authorId);

    Author getAuthorByName(String name);

    List<Author> fuzzySearch(String field);
}
